﻿using System;
using System.Data.Entity;
using System.Linq;
using ConsoleApp2.Modals;
using ConsoleApp2.Modals.Entity;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            Database.SetInitializer(new DbInitializer());

            using(Admin4000DbContext db=new Admin4000DbContext())
            {
                //db.Database.Initialize(true);
                db.Brands.ToList();
            }
            //Console.WriteLine("Hello World!");
        }
    }
}
